import React, { Suspense } from 'react'
import { useRoutes } from "react-router-dom";
import router from './router';



export default function App() {
  return (
    <div className='box'>
      <Suspense fallback={<>loading.......</>}>
        {useRoutes(router)}
      </Suspense>
    </div>
  )
}
